/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package negocio

constraints={
    senha(blank:false)
    email(email:true,validator:{return !it.equals(Usuario.findByEmail(it)?.email)})
    nome(blank:false)
}
